package net.csdn.business.notify.handler.flowcontrol.annotations;


import net.csdn.business.notify.common.enums.RateLimitStrategy;
import org.springframework.stereotype.Service;

import java.lang.annotation.*;



/**
 * @ClassName LocalRateLimit
 * @Description 单机限流注解
 * @Author zhangyl
 * @Date 2023/11/30 17:50
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Service
public @interface LocalRateLimit {
    RateLimitStrategy rateLimitStrategy() default RateLimitStrategy.REQUEST_RATE_LIMIT;
}
